home *** CD-ROM | disk | FTP | other *** search
/ PD ROM 1 / PD ROM Volume I - Macintosh Software from BMUG (1988).iso / Stacks / Hyper Education / Library Hyper Card Templates / Cisler / Home / card_5341.txt < prev    next >
Encoding:
Text File  |  1987-09-30  |  9.8 KB  |  504 lines

  1. -- card: 5341 from stack: in
  2. -- bmap block id: 4906
  3. -- flags: 4000
  4. -- background id: 2282
  5. -- name: Home
  6. ----- HyperTalk script -----
  7. on idle
  8.   put the time into card field "Time"
  9.   pass idle
  10. end idle
  11.  
  12. on startup
  13.   show card field "Copyright"
  14.   pass startup
  15. end startup
  16.  
  17. on closeCard
  18.   hide card field "Copyright"
  19. end closeCard
  20.  
  21.  
  22.  
  23. -- part 3 (button)
  24. -- low flags: 00
  25. -- high flags: 0000
  26. -- rect: left=180 top=80 right=129 bottom=235
  27. -- title width / last selected line: 0
  28. -- icon id / first selected line: 0 / 0
  29. -- text alignment: 1
  30. -- font id: 0
  31. -- text size: 12
  32. -- style flags: 0
  33. -- line height: 16
  34. -- part name: Rolo
  35. ----- HyperTalk script -----
  36. on mouseUp
  37.   visual effect zoom open
  38.   go to stack "Address"
  39. end mouseUp
  40.  
  41.  
  42.  
  43. -- part 4 (button)
  44. -- low flags: 00
  45. -- high flags: 0000
  46. -- rect: left=330 top=80 right=129 bottom=392
  47. -- title width / last selected line: 0
  48. -- icon id / first selected line: 0 / 0
  49. -- text alignment: 1
  50. -- font id: 0
  51. -- text size: 12
  52. -- style flags: 0
  53. -- line height: 16
  54. -- part name: File Index
  55. ----- HyperTalk script -----
  56. on mouseUp
  57.   visual effect zoom open
  58.   go to File Index
  59. end mouseUp
  60.  
  61.  
  62.  
  63. -- part 6 (button)
  64. -- low flags: 00
  65. -- high flags: 0000
  66. -- rect: left=31 top=144 right=189 bottom=80
  67. -- title width / last selected line: 0
  68. -- icon id / first selected line: 0 / 0
  69. -- text alignment: 1
  70. -- font id: 0
  71. -- text size: 12
  72. -- style flags: 0
  73. -- line height: 16
  74. -- part name: Phone
  75. ----- HyperTalk script -----
  76. on mouseUp
  77.   visual effect iris open
  78.   go to Phone
  79. end mouseUp
  80.  
  81.  
  82.  
  83. -- part 8 (button)
  84. -- low flags: 00
  85. -- high flags: 0000
  86. -- rect: left=410 top=81 right=127 bottom=472
  87. -- title width / last selected line: 0
  88. -- icon id / first selected line: 0 / 0
  89. -- text alignment: 1
  90. -- font id: 0
  91. -- text size: 12
  92. -- style flags: 0
  93. -- line height: 16
  94. -- part name: Book Shelf
  95. ----- HyperTalk script -----
  96. on mouseUp
  97.   visual effect zoom open
  98.   hide message box
  99.   go to Book Shelf
  100. end mouseUp
  101.  
  102.  
  103.  
  104. -- part 11 (button)
  105. -- low flags: 00
  106. -- high flags: 0000
  107. -- rect: left=416 top=140 right=187 bottom=472
  108. -- title width / last selected line: 0
  109. -- icon id / first selected line: 0 / 0
  110. -- text alignment: 1
  111. -- font id: 0
  112. -- text size: 12
  113. -- style flags: 0
  114. -- line height: 16
  115. -- part name: HyperCalc
  116. ----- HyperTalk script -----
  117. on mouseUp
  118.   visual effect zoom open
  119.   go to HyperCalc
  120. end mouseUp
  121.  
  122.  
  123.  
  124. -- part 12 (button)
  125. -- low flags: 00
  126. -- high flags: 0000
  127. -- rect: left=339 top=136 right=188 bottom=394
  128. -- title width / last selected line: 0
  129. -- icon id / first selected line: 0 / 0
  130. -- text alignment: 1
  131. -- font id: 0
  132. -- text size: 12
  133. -- style flags: 0
  134. -- line height: 16
  135. -- part name: Scanned Images
  136. ----- HyperTalk script -----
  137. on mouseUp
  138.   hide message box
  139.   visual effect zoom open
  140.   go to "Slide Show"
  141. end mouseUp
  142.  
  143.  
  144.  
  145. -- part 13 (button)
  146. -- low flags: 00
  147. -- high flags: 0000
  148. -- rect: left=109 top=140 right=187 bottom=155
  149. -- title width / last selected line: 0
  150. -- icon id / first selected line: 0 / 0
  151. -- text alignment: 1
  152. -- font id: 0
  153. -- text size: 12
  154. -- style flags: 0
  155. -- line height: 16
  156. -- part name: To Do
  157. ----- HyperTalk script -----
  158. on mouseUp
  159.   visual effect zoom open
  160.   go to card "First Do" of "Datebook"
  161. end mouseUp
  162.  
  163.  
  164.  
  165. -- part 44 (button)
  166. -- low flags: 00
  167. -- high flags: 8000
  168. -- rect: left=335 top=203 right=251 bottom=394
  169. -- title width / last selected line: 0
  170. -- icon id / first selected line: 7012 / 7012
  171. -- text alignment: 1
  172. -- font id: 0
  173. -- text size: 12
  174. -- style flags: 0
  175. -- line height: 16
  176. -- part name: Stack Ideas
  177. ----- HyperTalk script -----
  178. on mouseUp
  179.   visual effect zoom open
  180.   go to stack "Stack Ideas"
  181. end mouseUp
  182.  
  183.  
  184.  
  185.  
  186. -- part 45 (button)
  187. -- low flags: 00
  188. -- high flags: 8000
  189. -- rect: left=186 top=204 right=250 bottom=240
  190. -- title width / last selected line: 0
  191. -- icon id / first selected line: 18814 / 18814
  192. -- text alignment: 1
  193. -- font id: 0
  194. -- text size: 12
  195. -- style flags: 0
  196. -- line height: 16
  197. -- part name: Card Ideas
  198. ----- HyperTalk script -----
  199. on mouseUp
  200.   visual effect zoom open
  201.   go to stack "Card Ideas"
  202. end mouseUp
  203.  
  204.  
  205.  
  206.  
  207. -- part 46 (button)
  208. -- low flags: 00
  209. -- high flags: 8000
  210. -- rect: left=32 top=204 right=250 bottom=81
  211. -- title width / last selected line: 0
  212. -- icon id / first selected line: 26884 / 26884
  213. -- text alignment: 1
  214. -- font id: 0
  215. -- text size: 12
  216. -- style flags: 0
  217. -- line height: 16
  218. -- part name: Art Ideas
  219. ----- HyperTalk script -----
  220. on mouseUp
  221.   visual effect zoom open
  222.   go to stack "Art Ideas"
  223. end mouseUp
  224.  
  225.  
  226.  
  227. -- part 47 (button)
  228. -- low flags: 00
  229. -- high flags: 8000
  230. -- rect: left=262 top=204 right=251 bottom=323
  231. -- title width / last selected line: 0
  232. -- icon id / first selected line: 27056 / 27056
  233. -- text alignment: 1
  234. -- font id: 0
  235. -- text size: 12
  236. -- style flags: 0
  237. -- line height: 16
  238. -- part name: Button Ideas
  239. ----- HyperTalk script -----
  240. on mouseUp
  241.   visual effect zoom open
  242.   go to "Button Ideas"
  243. end mouseUp
  244.  
  245.  
  246.  
  247.  
  248. -- part 48 (button)
  249. -- low flags: 00
  250. -- high flags: 0000
  251. -- rect: left=102 top=200 right=253 bottom=160
  252. -- title width / last selected line: 0
  253. -- icon id / first selected line: 0 / 0
  254. -- text alignment: 1
  255. -- font id: 0
  256. -- text size: 12
  257. -- style flags: 0
  258. -- line height: 16
  259. -- part name: Clip Art
  260. ----- HyperTalk script -----
  261. on mouseUp
  262.   visual effect zoom open
  263.   go to Clip Art
  264. end mouseUp
  265.  
  266.  
  267.  
  268. -- part 62 (button)
  269. -- low flags: 00
  270. -- high flags: 0000
  271. -- rect: left=261 top=72 right=130 bottom=314
  272. -- title width / last selected line: 0
  273. -- icon id / first selected line: 0 / 0
  274. -- text alignment: 1
  275. -- font id: 0
  276. -- text size: 12
  277. -- style flags: 0
  278. -- line height: 16
  279. -- part name: 
  280. ----- HyperTalk script -----
  281. on mouseUp
  282.   visual effect zoom open
  283.   go to stack "documents"
  284. end mouseUp
  285.  
  286.  
  287.  
  288.  
  289. -- part 63 (button)
  290. -- low flags: 00
  291. -- high flags: 0000
  292. -- rect: left=106 top=80 right=129 bottom=155
  293. -- title width / last selected line: 0
  294. -- icon id / first selected line: 0 / 0
  295. -- text alignment: 1
  296. -- font id: 0
  297. -- text size: 12
  298. -- style flags: 0
  299. -- line height: 16
  300. -- part name: 
  301. ----- HyperTalk script -----
  302. on mouseUp
  303.   visual effect zoom open
  304.   go to stack "Help"
  305. end mouseUp
  306.  
  307.  
  308.  
  309.  
  310. -- part 65 (field)
  311. -- low flags: 00
  312. -- high flags: 0000
  313. -- rect: left=405 top=305 right=325 bottom=485
  314. -- title width / last selected line: 0
  315. -- icon id / first selected line: 0 / 0
  316. -- text alignment: 1
  317. -- font id: 3
  318. -- text size: 12
  319. -- style flags: 0
  320. -- line height: 16
  321. -- part name: Time
  322.  
  323.  
  324. -- part 68 (button)
  325. -- low flags: 00
  326. -- high flags: 0000
  327. -- rect: left=417 top=205 right=252 bottom=474
  328. -- title width / last selected line: 0
  329. -- icon id / first selected line: 0 / 0
  330. -- text alignment: 1
  331. -- font id: 0
  332. -- text size: 12
  333. -- style flags: 0
  334. -- line height: 16
  335. -- part name: 
  336. ----- HyperTalk script -----
  337. on mouseUp
  338.   visual effect zoom open
  339.   go to stack "Quotations"
  340. end mouseUp
  341.  
  342.  
  343.  
  344. -- part 69 (button)
  345. -- low flags: 00
  346. -- high flags: 0000
  347. -- rect: left=32 top=72 right=129 bottom=78
  348. -- title width / last selected line: 0
  349. -- icon id / first selected line: 0 / 0
  350. -- text alignment: 1
  351. -- font id: 0
  352. -- text size: 12
  353. -- style flags: 0
  354. -- line height: 16
  355. -- part name: 
  356. ----- HyperTalk script -----
  357. on mouseUp
  358.   visual effect zoom open
  359.   go to card "Introduction" of stack "Help"
  360. end mouseUp
  361.  
  362.  
  363.  
  364. -- part 70 (button)
  365. -- low flags: 00
  366. -- high flags: 0000
  367. -- rect: left=29 top=261 right=311 bottom=86
  368. -- title width / last selected line: 0
  369. -- icon id / first selected line: 0 / 0
  370. -- text alignment: 1
  371. -- font id: 0
  372. -- text size: 12
  373. -- style flags: 0
  374. -- line height: 16
  375. -- part name: 
  376. ----- HyperTalk script -----
  377. on mouseUp
  378.   visual effect zoom open
  379.   go to stack "Plots"
  380. end mouseUp
  381.  
  382.  
  383.  
  384. -- part 71 (button)
  385. -- low flags: 00
  386. -- high flags: 0000
  387. -- rect: left=263 top=141 right=188 bottom=318
  388. -- title width / last selected line: 0
  389. -- icon id / first selected line: 0 / 0
  390. -- text alignment: 1
  391. -- font id: 0
  392. -- text size: 12
  393. -- style flags: 0
  394. -- line height: 16
  395. -- part name: Months
  396. ----- HyperTalk script -----
  397. on mouseUp
  398.   get "Jan 1, 1987"
  399.   convert it to seconds
  400.   put 1 + (the seconds - it) div (60*60*24) into dayOfYear
  401.   put 1 + (dayOfYear + 3) div 7 into whichWeek
  402.   visual effect zoom open
  403.   if whichWeek < 28
  404.   then go to card 1 of DateBook
  405. else go to card 2 of DateBook
  406. goWeek whichWeek
  407. end mouseUp
  408.  
  409.  
  410.  
  411. -- part 72 (button)
  412. -- low flags: 00
  413. -- high flags: 0000
  414. -- rect: left=185 top=140 right=189 bottom=237
  415. -- title width / last selected line: 0
  416. -- icon id / first selected line: 0 / 0
  417. -- text alignment: 1
  418. -- font id: 0
  419. -- text size: 12
  420. -- style flags: 0
  421. -- line height: 16
  422. -- part name: Daily
  423. ----- HyperTalk script -----
  424. on mouseUp
  425.   get "Jan 1, 1987"
  426.   convert it to seconds
  427.   put 1 + (the seconds - it) div (60*60*24) into dayOfYear
  428.   put 1 + (dayOfYear + 2) div 7 into whichWeek
  429.   visual effect zoom open
  430.   if whichWeek ‚â• 1 and whichWeek ‚â§ 53 then
  431.     go to card (whichWeek + 2) of "Datebook"
  432.   else
  433.     go to card 3 of "Datebook"
  434.   end if
  435. end mouseUp
  436.  
  437.  
  438.  
  439. -- part 76 (field)
  440. -- low flags: 80
  441. -- high flags: 0000
  442. -- rect: left=16 top=310 right=326 bottom=207
  443. -- title width / last selected line: 0
  444. -- icon id / first selected line: 0 / 0
  445. -- text alignment: 1
  446. -- font id: 3
  447. -- text size: 9
  448. -- style flags: 0
  449. -- line height: 12
  450. -- part name: Copyright
  451.  
  452.  
  453. -- part 77 (button)
  454. -- low flags: 00
  455. -- high flags: 0000
  456. -- rect: left=106 top=259 right=299 bottom=160
  457. -- title width / last selected line: 0
  458. -- icon id / first selected line: 0 / 0
  459. -- text alignment: 1
  460. -- font id: 0
  461. -- text size: 12
  462. -- style flags: 0
  463. -- line height: 16
  464. -- part name: New Button
  465. ----- HyperTalk script -----
  466. on mouseUp
  467.   go to card id 4138 of stack "Blank:I&R"
  468. end mouseUp
  469.  
  470.  
  471.  
  472.  
  473. -- part 78 (button)
  474. -- low flags: 00
  475. -- high flags: 0000
  476. -- rect: left=334 top=253 right=305 bottom=406
  477. -- title width / last selected line: 0
  478. -- icon id / first selected line: 0 / 0
  479. -- text alignment: 1
  480. -- font id: 0
  481. -- text size: 12
  482. -- style flags: 0
  483. -- line height: 16
  484. -- part name: New Button
  485. ----- HyperTalk script -----
  486. on mouseUp
  487.   visual effect dissolve fast
  488.   go to card id 4175 of stack "FullText(compact)"
  489. end mouseUp
  490.  
  491.  
  492.  
  493.  
  494. -- part contents for background part 6
  495. ----- text -----
  496. Home Card
  497.  
  498. -- part contents for card part 65
  499. ----- text -----
  500. 5:24 PM
  501.  
  502. -- part contents for card part 76
  503. ----- text -----
  504. Copyright ¬©1987 Apple Computer, Inc.